/*
 * @Author:
 * @Date: 2023-02-25 11:20:46
 * @LastEditors:
 * @LastEditTime: 2023-09-13 11:43:01
 * @FilePath: \immoka-admin\src\api\musicManagement\index.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name} , All Rights Reserved.
 */
import request from '@/utils/request';

// 列表
export function roomSongList(query) {
  return request({
    url: `/room/song`,
    method: 'get',
    params: query
  });
}

// 音乐管理删除
export function roomSongDel(query) {
  return request({
    url: `/room/song`,
    method: 'delete',
    data: query
  });
}

// 上传音乐
export function roomSongSave(query) {
  return request({
    url: `/room/song`,
    method: 'post',
    data: query
  });
}
// 用户歌曲审核列表
export function songAuditList(query) {
  return request({
    url: `/room/song/audit/list`,
    method: 'get',
    params: query
  });
}
// 用户歌曲审核
export function songAudit(query) {
  return request({
    url: `/room/song/audit`,
    method: 'post',
    data: query
  });
}
// 歌曲审核历史
export function songAuditLog(query) {
  return request({
    url: `/room/song/audit/log`,
    method: 'get',
    params: query
  });
}
